package com.lanxiao.cloud.modules.oauth.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author ：qiaoliang
 * @date ：2021-09-10
 */
@TableName(value = "sys_role_permission",autoResultMap = true)
public class RolePermission {

  private Long roleId;

  private Long permissionId;

  public RolePermission() {
  }

  public RolePermission(Long roleId, Long permissionId) {
    this.roleId = roleId;
    this.permissionId = permissionId;
  }

  public Long getRoleId() {
    return roleId;
  }

  public void setRoleId(Long roleId) {
    this.roleId = roleId;
  }

  public Long getPermissionId() {
    return permissionId;
  }

  public void setPermissionId(Long permissionId) {
    this.permissionId = permissionId;
  }

}
